package com.sitech.openapi.domain.user;

import com.sitech.openapi.domain.customer.Customer;
import com.sitech.openapi.domain.customer.Account;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "User",description = "用户信息实体")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    // 引用一组资源Customer
    @ApiModelProperty(value = "客户")
    private List<Customer> customers	;

    // 引用一组资源Account
    @ApiModelProperty(value = "账户")
    private List<Account> accounts;

    // 引用一组资源ProdInst
    @ApiModelProperty(value = "产品实例")
    private	List<ProdInst> prodInsts;

    // 引用一组资源OfferInst
    @ApiModelProperty(value = "销售品实例")
    private	List<OfferInst>	offerInsts	;

    // 引用一组资源CardInsts
    @ApiModelProperty(value = "卡实例")
    private	List<CardInst>	CardInsts	;

    // 引用一组资源TermInst
    @ApiModelProperty(value = "终端实例")
    private	List<TermInst>	TermInsts	;

    public List<Customer> getCustomers() {
        return customers;
    }

    public void setCustomers(List<Customer> customers) {
        this.customers = customers;
    }

    public List<Account> getAccounts() {
        return accounts;
    }

    public void setAccounts(List<Account> accounts) {
        this.accounts = accounts;
    }

    public List<ProdInst> getProdInsts() {
        return prodInsts;
    }

    public void setProdInsts(List<ProdInst> prodInsts) {
        this.prodInsts = prodInsts;
    }

    public List<OfferInst> getOfferInsts() {
        return offerInsts;
    }

    public void setOfferInsts(List<OfferInst> offerInsts) {
        this.offerInsts = offerInsts;
    }

    public List<CardInst> getCardInsts() {
        return CardInsts;
    }

    public void setCardInsts(List<CardInst> cardInsts) {
        CardInsts = cardInsts;
    }

    public List<TermInst> getTermInsts() {
        return TermInsts;
    }

    public void setTermInsts(List<TermInst> termInsts) {
        TermInsts = termInsts;
    }

    @Override
    public String toString() {
        return "User{" +
                "customers=" + customers +
                ", accounts=" + accounts +
                ", prodInsts=" + prodInsts +
                ", offerInsts=" + offerInsts +
                ", CardInsts=" + CardInsts +
                ", TermInsts=" + TermInsts +
                '}';
    }
}
